var obj = ['name', 'email', 'qq', 'phone'];
var stdin = process.stdin;
var i = 0;
// var arr = [];
var user = {};
console.log(obj[0] + ':');
stdin.on('data', function (chunk) {
    var str = chunk.toString('utf-8');
    var result = str.slice(0, -2);
    user[obj[i]] = result;
    i++;
    if (i == 4) {
        console.log(user);
        process.exit();
    }
    console.log(obj[i] + ":");
})